<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Space Game Engine: space::vector3d&lt; T &gt; Class Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Space Game Engine
   &#160;<span id="projectnumber">0.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.2 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classspace_1_1vector3d.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classspace_1_1vector3d-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">space::vector3d&lt; T &gt; Class Template Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a96d24b448a6323405ff2908385283163"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a96d24b448a6323405ff2908385283163"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classspace_1_1vector3d.html#a96d24b448a6323405ff2908385283163">vector3d</a> ()</td></tr>
<tr class="memdesc:a96d24b448a6323405ff2908385283163"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor (null vector). <br/></td></tr>
<tr class="separator:a96d24b448a6323405ff2908385283163"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acbaaea8fe65327a3371d2c56b6d13694"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acbaaea8fe65327a3371d2c56b6d13694"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classspace_1_1vector3d.html#acbaaea8fe65327a3371d2c56b6d13694">vector3d</a> (T nx, T ny, T nz)</td></tr>
<tr class="memdesc:acbaaea8fe65327a3371d2c56b6d13694"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor with three different values. <br/></td></tr>
<tr class="separator:acbaaea8fe65327a3371d2c56b6d13694"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a18eb4154c6db4308035d5b589362ae97"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a18eb4154c6db4308035d5b589362ae97"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classspace_1_1vector3d.html#a18eb4154c6db4308035d5b589362ae97">vector3d</a> (T n)</td></tr>
<tr class="memdesc:a18eb4154c6db4308035d5b589362ae97"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor with the same value for all elements. <br/></td></tr>
<tr class="separator:a18eb4154c6db4308035d5b589362ae97"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac64bed979ab18f166fcab7c4de964e09"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac64bed979ab18f166fcab7c4de964e09"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classspace_1_1vector3d.html#ac64bed979ab18f166fcab7c4de964e09">vector3d</a> (const <a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;other)</td></tr>
<tr class="memdesc:ac64bed979ab18f166fcab7c4de964e09"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor. <br/></td></tr>
<tr class="separator:ac64bed979ab18f166fcab7c4de964e09"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b5a409e06a11ed6ce2e6e6a3bf8c972"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6b5a409e06a11ed6ce2e6e6a3bf8c972"></a>
<a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>operator-</b> () const </td></tr>
<tr class="separator:a6b5a409e06a11ed6ce2e6e6a3bf8c972"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af3fb409dac244c16e4668891b0c60522"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af3fb409dac244c16e4668891b0c60522"></a>
<a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;other)</td></tr>
<tr class="separator:af3fb409dac244c16e4668891b0c60522"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a620eb1ffe1e2793c7b67b4e8e76e5c6c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a620eb1ffe1e2793c7b67b4e8e76e5c6c"></a>
<a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>operator+</b> (const <a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;other) const </td></tr>
<tr class="separator:a620eb1ffe1e2793c7b67b4e8e76e5c6c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8c1b38acba49593026b2196a55e5222f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8c1b38acba49593026b2196a55e5222f"></a>
<a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator+=</b> (const <a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;other)</td></tr>
<tr class="separator:a8c1b38acba49593026b2196a55e5222f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a67c4ad824651d0f3d564f0346f68ba66"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a67c4ad824651d0f3d564f0346f68ba66"></a>
<a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>operator+</b> (const T val) const </td></tr>
<tr class="separator:a67c4ad824651d0f3d564f0346f68ba66"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade974400084a4aa2795b5204ab136213"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ade974400084a4aa2795b5204ab136213"></a>
<a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator+=</b> (const T val)</td></tr>
<tr class="separator:ade974400084a4aa2795b5204ab136213"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6940b5e2e3fcf1089f090e5e838fdde2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6940b5e2e3fcf1089f090e5e838fdde2"></a>
<a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>operator-</b> (const <a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;other) const </td></tr>
<tr class="separator:a6940b5e2e3fcf1089f090e5e838fdde2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8cef404b174eba3b4aeaa7917e80ca15"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8cef404b174eba3b4aeaa7917e80ca15"></a>
<a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator-=</b> (const <a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;other)</td></tr>
<tr class="separator:a8cef404b174eba3b4aeaa7917e80ca15"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac1511f2c08d0c9872dcd37a7d5f45ef2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac1511f2c08d0c9872dcd37a7d5f45ef2"></a>
<a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>operator-</b> (const T val) const </td></tr>
<tr class="separator:ac1511f2c08d0c9872dcd37a7d5f45ef2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acacf5e05f84185d6512a92cee52bef6e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acacf5e05f84185d6512a92cee52bef6e"></a>
<a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator-=</b> (const T val)</td></tr>
<tr class="separator:acacf5e05f84185d6512a92cee52bef6e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2ed2f9c71f3c31cfdc30609dbf1cdf39"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2ed2f9c71f3c31cfdc30609dbf1cdf39"></a>
<a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>operator*</b> (const <a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;other) const </td></tr>
<tr class="separator:a2ed2f9c71f3c31cfdc30609dbf1cdf39"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f6ad0b4a954d4949040ff4b06c8d89e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5f6ad0b4a954d4949040ff4b06c8d89e"></a>
<a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator*=</b> (const <a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;other)</td></tr>
<tr class="separator:a5f6ad0b4a954d4949040ff4b06c8d89e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a78d4fd0f61e23a57318ea6165b0752b0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a78d4fd0f61e23a57318ea6165b0752b0"></a>
<a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>operator*</b> (const T v) const </td></tr>
<tr class="separator:a78d4fd0f61e23a57318ea6165b0752b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a112ee83c080b76a971bd342bcf67f6f9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a112ee83c080b76a971bd342bcf67f6f9"></a>
<a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator*=</b> (const T v)</td></tr>
<tr class="separator:a112ee83c080b76a971bd342bcf67f6f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a8be4688fbd7476603b57c523a89448"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4a8be4688fbd7476603b57c523a89448"></a>
<a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>operator/</b> (const <a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;other) const </td></tr>
<tr class="separator:a4a8be4688fbd7476603b57c523a89448"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a94304b3f5475b5ab3b181b9d1e9086e1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a94304b3f5475b5ab3b181b9d1e9086e1"></a>
<a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator/=</b> (const <a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;other)</td></tr>
<tr class="separator:a94304b3f5475b5ab3b181b9d1e9086e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a188cfb38c073b43d69de8f55a5b59931"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a188cfb38c073b43d69de8f55a5b59931"></a>
<a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>operator/</b> (const T v) const </td></tr>
<tr class="separator:a188cfb38c073b43d69de8f55a5b59931"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aae1e67534b97933a130ba20a54259c60"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aae1e67534b97933a130ba20a54259c60"></a>
<a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator/=</b> (const T v)</td></tr>
<tr class="separator:aae1e67534b97933a130ba20a54259c60"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad8023e61c8a814b31ecfd65a7a7e98e0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad8023e61c8a814b31ecfd65a7a7e98e0"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classspace_1_1vector3d.html#ad8023e61c8a814b31ecfd65a7a7e98e0">operator&lt;=</a> (const <a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;other) const </td></tr>
<tr class="memdesc:ad8023e61c8a814b31ecfd65a7a7e98e0"><td class="mdescLeft">&#160;</td><td class="mdescRight">sort in order X, Y, Z. Equality with rounding tolerance. <br/></td></tr>
<tr class="separator:ad8023e61c8a814b31ecfd65a7a7e98e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a88f5fd33f24c84e2e00468c5d4499cd4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a88f5fd33f24c84e2e00468c5d4499cd4"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classspace_1_1vector3d.html#a88f5fd33f24c84e2e00468c5d4499cd4">operator&gt;=</a> (const <a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;other) const </td></tr>
<tr class="memdesc:a88f5fd33f24c84e2e00468c5d4499cd4"><td class="mdescLeft">&#160;</td><td class="mdescRight">sort in order X, Y, Z. Equality with rounding tolerance. <br/></td></tr>
<tr class="separator:a88f5fd33f24c84e2e00468c5d4499cd4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a41913d3080c7a8af5617408fbe08bda3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a41913d3080c7a8af5617408fbe08bda3"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classspace_1_1vector3d.html#a41913d3080c7a8af5617408fbe08bda3">operator&lt;</a> (const <a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;other) const </td></tr>
<tr class="memdesc:a41913d3080c7a8af5617408fbe08bda3"><td class="mdescLeft">&#160;</td><td class="mdescRight">sort in order X, Y, Z. Difference must be above rounding tolerance. <br/></td></tr>
<tr class="separator:a41913d3080c7a8af5617408fbe08bda3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae9bed7c26e37998fcbe964f6dad10c9b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae9bed7c26e37998fcbe964f6dad10c9b"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classspace_1_1vector3d.html#ae9bed7c26e37998fcbe964f6dad10c9b">operator&gt;</a> (const <a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;other) const </td></tr>
<tr class="memdesc:ae9bed7c26e37998fcbe964f6dad10c9b"><td class="mdescLeft">&#160;</td><td class="mdescRight">sort in order X, Y, Z. Difference must be above rounding tolerance. <br/></td></tr>
<tr class="separator:ae9bed7c26e37998fcbe964f6dad10c9b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae3b2a5003e57743308f4b2d2283c4508"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae3b2a5003e57743308f4b2d2283c4508"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classspace_1_1vector3d.html#ae3b2a5003e57743308f4b2d2283c4508">operator==</a> (const <a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;other) const </td></tr>
<tr class="memdesc:ae3b2a5003e57743308f4b2d2283c4508"><td class="mdescLeft">&#160;</td><td class="mdescRight">use weak float compare <br/></td></tr>
<tr class="separator:ae3b2a5003e57743308f4b2d2283c4508"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad20e3852471956998d5c9be16098d5f3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad20e3852471956998d5c9be16098d5f3"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>operator!=</b> (const <a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;other) const </td></tr>
<tr class="separator:ad20e3852471956998d5c9be16098d5f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af47616409d0f725ee686a01ecaf95d00"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af47616409d0f725ee686a01ecaf95d00"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classspace_1_1vector3d.html#af47616409d0f725ee686a01ecaf95d00">equals</a> (const <a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;other, const T tolerance=(T) ROUNDING_ERROR_float) const </td></tr>
<tr class="memdesc:af47616409d0f725ee686a01ecaf95d00"><td class="mdescLeft">&#160;</td><td class="mdescRight">returns if this vector equals the other one, taking floating point rounding errors into account <br/></td></tr>
<tr class="separator:af47616409d0f725ee686a01ecaf95d00"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a65280d5b6e15134ab570fbdff42edf65"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a65280d5b6e15134ab570fbdff42edf65"></a>
<a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>set</b> (const T nx, const T ny, const T nz)</td></tr>
<tr class="separator:a65280d5b6e15134ab570fbdff42edf65"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af2327f57671058c7f7713ae08e4b0795"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af2327f57671058c7f7713ae08e4b0795"></a>
<a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>set</b> (const <a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;p)</td></tr>
<tr class="separator:af2327f57671058c7f7713ae08e4b0795"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5381c1175b628a86dd1e90582bb471f0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5381c1175b628a86dd1e90582bb471f0"></a>
T&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classspace_1_1vector3d.html#a5381c1175b628a86dd1e90582bb471f0">getLength</a> () const </td></tr>
<tr class="memdesc:a5381c1175b628a86dd1e90582bb471f0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get length of the vector. <br/></td></tr>
<tr class="separator:a5381c1175b628a86dd1e90582bb471f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a0ee6dec00310c0448a1f2d31ee6ef3"><td class="memItemLeft" align="right" valign="top">T&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classspace_1_1vector3d.html#a0a0ee6dec00310c0448a1f2d31ee6ef3">getLengthSQ</a> () const </td></tr>
<tr class="memdesc:a0a0ee6dec00310c0448a1f2d31ee6ef3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get squared length of the vector.  <a href="#a0a0ee6dec00310c0448a1f2d31ee6ef3"></a><br/></td></tr>
<tr class="separator:a0a0ee6dec00310c0448a1f2d31ee6ef3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa4e8f26f29d47c666c4a88381debc024"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa4e8f26f29d47c666c4a88381debc024"></a>
T&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classspace_1_1vector3d.html#aa4e8f26f29d47c666c4a88381debc024">dotProduct</a> (const <a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;other) const </td></tr>
<tr class="memdesc:aa4e8f26f29d47c666c4a88381debc024"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the dot product with another vector. <br/></td></tr>
<tr class="separator:aa4e8f26f29d47c666c4a88381debc024"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a737863823edf17e37a5bd148a76c0150"><td class="memItemLeft" align="right" valign="top">T&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classspace_1_1vector3d.html#a737863823edf17e37a5bd148a76c0150">getDistanceFrom</a> (const <a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;other) const </td></tr>
<tr class="memdesc:a737863823edf17e37a5bd148a76c0150"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get distance from another point.  <a href="#a737863823edf17e37a5bd148a76c0150"></a><br/></td></tr>
<tr class="separator:a737863823edf17e37a5bd148a76c0150"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac1ba45b344391ffe18a5fb514179be69"><td class="memItemLeft" align="right" valign="top">T&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classspace_1_1vector3d.html#ac1ba45b344391ffe18a5fb514179be69">getDistanceFromSQ</a> (const <a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;other) const </td></tr>
<tr class="memdesc:ac1ba45b344391ffe18a5fb514179be69"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns squared distance from another point.  <a href="#ac1ba45b344391ffe18a5fb514179be69"></a><br/></td></tr>
<tr class="separator:ac1ba45b344391ffe18a5fb514179be69"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5991b38dd917f615e7a1323f79bbb9ce"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classspace_1_1vector3d.html#a5991b38dd917f615e7a1323f79bbb9ce">crossProduct</a> (const <a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;p) const </td></tr>
<tr class="memdesc:a5991b38dd917f615e7a1323f79bbb9ce"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculates the cross product with another vector.  <a href="#a5991b38dd917f615e7a1323f79bbb9ce"></a><br/></td></tr>
<tr class="separator:a5991b38dd917f615e7a1323f79bbb9ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d857ba4f1009566f87e804c7d9ca5cb"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classspace_1_1vector3d.html#a3d857ba4f1009566f87e804c7d9ca5cb">isBetweenPoints</a> (const <a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;begin, const <a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;end) const </td></tr>
<tr class="memdesc:a3d857ba4f1009566f87e804c7d9ca5cb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns if this vector interpreted as a point is on a line between two other points.  <a href="#a3d857ba4f1009566f87e804c7d9ca5cb"></a><br/></td></tr>
<tr class="separator:a3d857ba4f1009566f87e804c7d9ca5cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a28c5c17a206a9b5071165dd025196d00"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classspace_1_1vector3d.html#a28c5c17a206a9b5071165dd025196d00">normalize</a> ()</td></tr>
<tr class="memdesc:a28c5c17a206a9b5071165dd025196d00"><td class="mdescLeft">&#160;</td><td class="mdescRight">Normalizes the vector.  <a href="#a28c5c17a206a9b5071165dd025196d00"></a><br/></td></tr>
<tr class="separator:a28c5c17a206a9b5071165dd025196d00"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9e816b46feb877307c47b2acb22bd2d3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9e816b46feb877307c47b2acb22bd2d3"></a>
<a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classspace_1_1vector3d.html#a9e816b46feb877307c47b2acb22bd2d3">setLength</a> (T newlength)</td></tr>
<tr class="memdesc:a9e816b46feb877307c47b2acb22bd2d3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the length of the vector to a new value. <br/></td></tr>
<tr class="separator:a9e816b46feb877307c47b2acb22bd2d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa53c71ae1fb83a264f862a11aabf66fa"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa53c71ae1fb83a264f862a11aabf66fa"></a>
<a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classspace_1_1vector3d.html#aa53c71ae1fb83a264f862a11aabf66fa">invert</a> ()</td></tr>
<tr class="memdesc:aa53c71ae1fb83a264f862a11aabf66fa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Inverts the vector. <br/></td></tr>
<tr class="separator:aa53c71ae1fb83a264f862a11aabf66fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a871d81d1abfa763bb7801bbd6ce0aa66"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classspace_1_1vector3d.html#a871d81d1abfa763bb7801bbd6ce0aa66">rotateXZBy</a> (double degrees, const <a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;center=<a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt;())</td></tr>
<tr class="memdesc:a871d81d1abfa763bb7801bbd6ce0aa66"><td class="mdescLeft">&#160;</td><td class="mdescRight">Rotates the vector by a specified number of degrees around the Y axis and the specified center.  <a href="#a871d81d1abfa763bb7801bbd6ce0aa66"></a><br/></td></tr>
<tr class="separator:a871d81d1abfa763bb7801bbd6ce0aa66"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a42cac582d54dcb257144ba2c94b3e771"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classspace_1_1vector3d.html#a42cac582d54dcb257144ba2c94b3e771">rotateXYBy</a> (double degrees, const <a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;center=<a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt;())</td></tr>
<tr class="memdesc:a42cac582d54dcb257144ba2c94b3e771"><td class="mdescLeft">&#160;</td><td class="mdescRight">Rotates the vector by a specified number of degrees around the Z axis and the specified center.  <a href="#a42cac582d54dcb257144ba2c94b3e771"></a><br/></td></tr>
<tr class="separator:a42cac582d54dcb257144ba2c94b3e771"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae1a82d17f032af5477f8b6c63eabba05"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classspace_1_1vector3d.html#ae1a82d17f032af5477f8b6c63eabba05">rotateYZBy</a> (double degrees, const <a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;center=<a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt;())</td></tr>
<tr class="memdesc:ae1a82d17f032af5477f8b6c63eabba05"><td class="mdescLeft">&#160;</td><td class="mdescRight">Rotates the vector by a specified number of degrees around the X axis and the specified center.  <a href="#ae1a82d17f032af5477f8b6c63eabba05"></a><br/></td></tr>
<tr class="separator:ae1a82d17f032af5477f8b6c63eabba05"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0b391ad36466df0121991b4040df0a6e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classspace_1_1vector3d.html#a0b391ad36466df0121991b4040df0a6e">getInterpolated</a> (const <a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;other, double d) const </td></tr>
<tr class="memdesc:a0b391ad36466df0121991b4040df0a6e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates an interpolated vector between this vector and another vector.  <a href="#a0b391ad36466df0121991b4040df0a6e"></a><br/></td></tr>
<tr class="separator:a0b391ad36466df0121991b4040df0a6e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac334eadb221c9b5ea6cc7ada5c7d3ba9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classspace_1_1vector3d.html#ac334eadb221c9b5ea6cc7ada5c7d3ba9">getInterpolated_quadratic</a> (const <a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;v2, const <a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;v3, double d) const </td></tr>
<tr class="memdesc:ac334eadb221c9b5ea6cc7ada5c7d3ba9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a quadratically interpolated vector between this and two other vectors.  <a href="#ac334eadb221c9b5ea6cc7ada5c7d3ba9"></a><br/></td></tr>
<tr class="separator:ac334eadb221c9b5ea6cc7ada5c7d3ba9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8bafbe58280263f2d704de892464d174"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classspace_1_1vector3d.html#a8bafbe58280263f2d704de892464d174">interpolate</a> (const <a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;a, const <a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;b, double d)</td></tr>
<tr class="memdesc:a8bafbe58280263f2d704de892464d174"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets this vector to the linearly interpolated vector between a and b.  <a href="#a8bafbe58280263f2d704de892464d174"></a><br/></td></tr>
<tr class="separator:a8bafbe58280263f2d704de892464d174"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a5991b38dd917f615e7a1323f79bbb9ce"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt;T&gt; <a class="el" href="classspace_1_1vector3d.html">space::vector3d</a>&lt; T &gt;::crossProduct </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Calculates the cross product with another vector. </p>
<pre class="fragment">\param p Vector to multiply with.
</pre> <dl class="section return"><dt>Returns</dt><dd>Crossproduct of this vector with p. </dd></dl>

</div>
</div>
<a class="anchor" id="a737863823edf17e37a5bd148a76c0150"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">T <a class="el" href="classspace_1_1vector3d.html">space::vector3d</a>&lt; T &gt;::getDistanceFrom </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get distance from another point. </p>
<p>Here, the vector is interpreted as point in 3 dimensional space. </p>

</div>
</div>
<a class="anchor" id="ac1ba45b344391ffe18a5fb514179be69"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">T <a class="el" href="classspace_1_1vector3d.html">space::vector3d</a>&lt; T &gt;::getDistanceFromSQ </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns squared distance from another point. </p>
<p>Here, the vector is interpreted as point in 3 dimensional space. </p>

</div>
</div>
<a class="anchor" id="a0b391ad36466df0121991b4040df0a6e"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt;T&gt; <a class="el" href="classspace_1_1vector3d.html">space::vector3d</a>&lt; T &gt;::getInterpolated </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>other</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>d</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates an interpolated vector between this vector and another vector. </p>
<pre class="fragment">\param other The other vector to interpolate with.
</pre> <dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">d</td><td>Interpolation value between 0.0f (all the other vector) and 1.0f (all this vector). Note that this is the opposite direction of interpolation to <a class="el" href="classspace_1_1vector3d.html#ac334eadb221c9b5ea6cc7ada5c7d3ba9" title="Creates a quadratically interpolated vector between this and two other vectors.">getInterpolated_quadratic()</a> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>An interpolated vector. This vector is not modified. </dd></dl>

</div>
</div>
<a class="anchor" id="ac334eadb221c9b5ea6cc7ada5c7d3ba9"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt;T&gt; <a class="el" href="classspace_1_1vector3d.html">space::vector3d</a>&lt; T &gt;::getInterpolated_quadratic </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>v2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>v3</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>d</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates a quadratically interpolated vector between this and two other vectors. </p>
<pre class="fragment">\param v2 Second vector to interpolate with.
</pre> <dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">v3</td><td>Third vector to interpolate with (maximum at 1.0f) </td></tr>
    <tr><td class="paramname">d</td><td>Interpolation value between 0.0f (all this vector) and 1.0f (all the 3rd vector). Note that this is the opposite direction of interpolation to <a class="el" href="classspace_1_1vector3d.html#a0b391ad36466df0121991b4040df0a6e" title="Creates an interpolated vector between this vector and another vector.">getInterpolated()</a> and <a class="el" href="classspace_1_1vector3d.html#a8bafbe58280263f2d704de892464d174" title="Sets this vector to the linearly interpolated vector between a and b.">interpolate()</a> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>An interpolated vector. This vector is not modified. </dd></dl>

</div>
</div>
<a class="anchor" id="a0a0ee6dec00310c0448a1f2d31ee6ef3"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">T <a class="el" href="classspace_1_1vector3d.html">space::vector3d</a>&lt; T &gt;::getLengthSQ </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get squared length of the vector. </p>
<pre class="fragment">This is useful because it is much faster than getLength().
</pre> <dl class="section return"><dt>Returns</dt><dd>Squared length of the vector. </dd></dl>

</div>
</div>
<a class="anchor" id="a8bafbe58280263f2d704de892464d174"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt;T&gt;&amp; <a class="el" href="classspace_1_1vector3d.html">space::vector3d</a>&lt; T &gt;::interpolate </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>d</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Sets this vector to the linearly interpolated vector between a and b. </p>
<pre class="fragment">\param a first vector to interpolate with, maximum at 1.0f
</pre> <dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">b</td><td>second vector to interpolate with, maximum at 0.0f </td></tr>
    <tr><td class="paramname">d</td><td>Interpolation value between 0.0f (all vector b) and 1.0f (all vector a) Note that this is the opposite direction of interpolation to <a class="el" href="classspace_1_1vector3d.html#ac334eadb221c9b5ea6cc7ada5c7d3ba9" title="Creates a quadratically interpolated vector between this and two other vectors.">getInterpolated_quadratic()</a> </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a3d857ba4f1009566f87e804c7d9ca5cb"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classspace_1_1vector3d.html">space::vector3d</a>&lt; T &gt;::isBetweenPoints </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>begin</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>end</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns if this vector interpreted as a point is on a line between two other points. </p>
<pre class="fragment">It is assumed that the point is on the line.
</pre> <dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">begin</td><td>Beginning vector to compare between. </td></tr>
    <tr><td class="paramname">end</td><td>Ending vector to compare between. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True if this vector is between begin and end, false if not. </dd></dl>

</div>
</div>
<a class="anchor" id="a28c5c17a206a9b5071165dd025196d00"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt;T&gt;&amp; <a class="el" href="classspace_1_1vector3d.html">space::vector3d</a>&lt; T &gt;::normalize </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Normalizes the vector. </p>
<pre class="fragment">In case of the 0 vector the result is still 0, otherwise
</pre><p> the length of the vector will be 1. </p>
<dl class="section return"><dt>Returns</dt><dd>Reference to this vector after normalization. </dd></dl>

</div>
</div>
<a class="anchor" id="a42cac582d54dcb257144ba2c94b3e771"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classspace_1_1vector3d.html">space::vector3d</a>&lt; T &gt;::rotateXYBy </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>degrees</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>center</em> = <code><a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt;T&gt;()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Rotates the vector by a specified number of degrees around the Z axis and the specified center. </p>
<pre class="fragment">\param degrees: Number of degrees to rotate around the Z axis.
</pre> <dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">center,:</td><td>The center of the rotation. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a871d81d1abfa763bb7801bbd6ce0aa66"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classspace_1_1vector3d.html">space::vector3d</a>&lt; T &gt;::rotateXZBy </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>degrees</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>center</em> = <code><a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt;T&gt;()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Rotates the vector by a specified number of degrees around the Y axis and the specified center. </p>
<pre class="fragment">\param degrees Number of degrees to rotate around the Y axis.
</pre> <dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">center</td><td>The center of the rotation. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ae1a82d17f032af5477f8b6c63eabba05"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classspace_1_1vector3d.html">space::vector3d</a>&lt; T &gt;::rotateYZBy </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>degrees</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>center</em> = <code><a class="el" href="classspace_1_1vector3d.html">vector3d</a>&lt;T&gt;()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Rotates the vector by a specified number of degrees around the X axis and the specified center. </p>
<pre class="fragment">\param degrees: Number of degrees to rotate around the X axis.
</pre> <dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">center,:</td><td>The center of the rotation. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>S:/Code/space/src/engine/space/<a class="el" href="vector_8h_source.html">vector.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>space</b></li><li class="navelem"><a class="el" href="classspace_1_1vector3d.html">vector3d</a></li>
    <li class="footer">Generated on Wed Dec 5 2012 11:12:10 for Space Game Engine by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.2 </li>
  </ul>
</div>
</body>
</html>
